﻿using System;
using System.IO;

namespace LibInterface
{
    public interface IServerLib
    {
        void Initialize(Stream initConfig, string projectPath);

        void Finitialize();

        bool IsCountingOnRun{ get; }

        bool HasDataWaiting { get; }

        bool CanGetProgrss { get; }

        byte Progress { get; }

        bool IsDone { get; }

        int GetNextDataToCompiutngId();

        Compiuting GetDataToCompiuting(int id);

        Compiuting GetDataToCompiuting();

        byte[] GetParamiter(int id, bool isDynamic);

        void GiveDataFromCompiuting(int id, byte[] data);

    }
}
